/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "用户表",TableName = "Division_Person")]
    public partial class Division_Person:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="DivisionId")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int DivisionId { get; set; }

       /// <summary>
       ///业务经理
       /// </summary>
       [Display(Name ="业务经理")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string BusinessManager { get; set; }

       /// <summary>
       ///销售事业部
       /// </summary>
       [Display(Name ="销售事业部")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Division { get; set; }

       /// <summary>
       ///员工账号
       /// </summary>
       [Display(Name ="员工账号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string StaffAccount { get; set; }

       
    }
}